import request from '@/utils/request'


export default{

  //1 讲师列表（条件分页查询）
  getTeacherListPage(current,limit,teacherEduQuery){
    return request({
      // url: '/table/list',
      url:`/eduService/eduTeacher/pageTeacherCondition/${current}/${limit}`,
      method: 'post',
      //teacherEduQuery条件对象，后端使用RequestBody获取数据
      data:teacherEduQuery
    })
  },

  //2 删除讲师
  deleteTeacherId(id){
    return request({
      url:`/eduService/eduTeacher/${id}`,
      method: 'delete'
    })
  }
  


}
